package com.hu.zhcc.shiro.service.xy;

import com.hu.zhcc.common.entity.Page;
import com.hu.zhcc.shiro.entity.dto.base.RoleDTO;
import com.hu.zhcc.shiro.entity.xy.dto.TMResultDTO;
import com.hu.zhcc.shiro.entity.xy.pojo.TAssessQuestion;
import com.hu.zhcc.shiro.entity.xy.pojo.TMentalityResult;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

public interface TMResultService {
    int deleteByPrimaryKey(Integer id);

    int insert(TMentalityResult record);

    TMResultDTO insertSelective(TMResultDTO record);

    TMResultDTO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TMResultDTO record);

    int updateByPrimaryKey(TMentalityResult record);

    Page<TMResultDTO> listTMResult(Map<String, Object> paremeters, int offset, int limit);

    List<TMResultDTO> listAllTMResult();

    Boolean queryByMemberId(Integer memberId);

    Integer addTMentalityResult(String idCard,TAssessQuestion[][] objects);

    Integer updateTMentalityResult(Integer memberId,TAssessQuestion[][] objects);

}
